<div class="container mc-list">
	<div class="titlebar row">
		<div class="col-xs-6"><h2>我的机器码</h2></div>
		<div class="col-xs-6 right">
			<a ng-href="#/uploadcode" class="btn btn-success">添加</a>
		</div>
	</div>
	<div class="table-responsive">
		<table class="table table-hover">
			<tr>
				<th>序号</th>
				<th>机器码</th>
				<th>设备类型</th>
				<th>创建时间</th>
				<th>姓名</th>
				<th>姓名拼音</th>
				<th>QQ</th> 
			</tr>
			<tr ng-repeat="i in machinecode.list">
				<td>{{$index}}</td>
				<td>{{i.code}}</td>
				<td>{{i.type == '1'?'Mac':i.type == '2'?'Android':'Windows'}}</td>
				<td>{{i.time}}</td>
				<td>{{i.name}}</td>
				<td>{{i.nameSpell}}</td>
				<td>{{i.qq}}</td> 
			</tr>
			<tr>
				<td colspan="7" ng-show="machinecode.list.length<=0">
					暂无机器码
				</td>
			</tr>
			<tr>
				<td colspan="7" ng-show="loading">
					<div class="spinner"></div>
				</td>
			</tr>
		</table>
	</div>
	<!-- <div class="panel-footer text-right text-center-xs">
		<uib-pagination total-items="bigTotalItems" ng-model="bigCurrentPage" max-size="maxSize" class="pagination-sm m-t-none m-b-none" boundary-links="true" rotate="false" num-pages="numPages"></uib-pagination>
	</div> -->
</div>
